package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserPasswordModifyLogDao;
import com.frogs.ucenter.entity.UserPasswordModifyLog;
import com.frogs.ucenter.service.UserPasswordModifyLogService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userPasswordModifyLogService")
public class UserPasswordModifyLogServiceImpl extends BaseServiceImpl<UserPasswordModifyLog> implements UserPasswordModifyLogService {
    @Autowired
    private UserPasswordModifyLogDao userPasswordModifyLogDao;

    public UserPasswordModifyLogServiceImpl() {
        super();
    }

    public UserPasswordModifyLogDao getUserPasswordModifyLogDao() {
        return userPasswordModifyLogDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserPasswordModifyLog> getBaseDao() {
        return userPasswordModifyLogDao;
    }

    public void setUserPasswordModifyLogDao(UserPasswordModifyLogDao userPasswordModifyLogDao) {
        this.userPasswordModifyLogDao = userPasswordModifyLogDao;
    }
}